import { ref } from 'vue'

const list = ref([
  {
    name: '交易编号',
    key: 'outTradeNo',
    type: 'text',
    placeholder: '请输入交易编号',
    style: 'width: 150px;',
    options: [],
    form: ''
  },
  {
    name: '收货人',
    key: 'consignee',
    type: 'text',
    placeholder: '请输入收货人',
    style: 'width: 150px;',
    options: [],
    form: ''
  },
  {
    name: '收货人电话',
    key: 'consigneeTel',
    type: 'text',
    placeholder: '请输入收货人电话',
    style: 'width: 150px;',
    options: [],
    form: ''
  },
  {
    name: '收货地址',
    key: 'deliveryAddress',
    type: 'text',
    placeholder: '请输入收货地址',
    style: 'width: 150px;',
    options: [],
    form: ''
  },
  {
    name: '订单状态',
    key: 'orderStatus',
    type: 'select',
    placeholder: '订单状态',
    style: 'width: 150px;',
    options: [
      {
        label: '北京',
        value: '1001'
      },
      {
        label: '上海',
        value: '1002'
      }
    ],
    form: ''
  },
  {
    name: '创建时间',
    key: 'createTimeBegin',
    type: 'datetime',
    placeholder: '创建时间',
    style: 'width: 150px;',
    options: [],
    form: {}
  },
  {
    name: '过期时间',
    key: 'createTimeEnd',
    type: 'datetime',
    placeholder: '过期时间',
    style: 'width: 150px;',
    options: [],
    form: ''
  }
])

export default list
